package com.garygyp.servicebase.exceptionhandler;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author GaryGyp
 * @date 2022/5/4 22:17
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GuliException extends RuntimeException {

    // 状态码
    @ApiModelProperty(value = "状态码")
    private Integer code;

    // 异常信息
    private String msg;

}
